All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class quicktime.std.sg.SGSoundChannel

java.lang.Object
   |
   +----quicktime.QTObject
           |
           +----quicktime.std.comp.ComponentIdentifier
                   |
                   +----quicktime.std.comp.Component
                           |
                           +----quicktime.std.sg.SGChannel
                                   |
                                   +----quicktime.std.sg.AudioChannel
                                           |
                                           +----quicktime.std.sg.SGSoundChannel

public final class SGSoundChannel
extends AudioChannel
implements QuickTimeLib
Assists in importing sound into a movie. The SGChannel implements methods for a corresponding QuickTime ComponentInstance structure.


Constructor Index

 o SGSoundChannel(SequenceGrabber)
Creates a sequence grabber channel and assigns a channel component to the channel.

Method Index

 o getInputDriver()
Get the Sound Input Driver

QuickTime::SGGetSoundInputDriver QuickTime::SGGetSoundInputDriver

 o getRecordChunkSize()
Get the buffer size (in seconds) of the record buffer

QuickTime::SGGetSoundRecordChunkSize QuickTime::SGGetSoundRecordChunkSize

 o getSoundInputParameters()
Get some parameters that relate to the current sound recording.
 o getSoundInputRate()
Get the Sound Input Rate

QuickTime::SGGetSoundInputRate QuickTime::SGGetSoundInputRate

 o setInputDriver(String)
Set the Sound Input Driver, Automatically calls SGSoundInputDriverChanged

QuickTime::SGSetSoundInputDriver QuickTime::SGSetSoundInputDriver



QuickTime::SGSoundInputDriverChanged QuickTime::SGSoundInputDriverChanged

 o setRecordChunkSize(int)
Set the buffer size for sound recording in seconds

QuickTime::SGSetSoundRecordChunkSize QuickTime::SGSetSoundRecordChunkSize

 o setSoundInputParameters(int, int, int)
Set some parameters that relate to sound recording.
 o setSoundInputRate(float)
Set the Sound Input Rate

QuickTime::SGSetSoundInputRate QuickTime::SGSetSoundInputRate

Constructors

 o SGSoundChannel
 public SGSoundChannel(SequenceGrabber owner) throws StdQTException
Creates a sequence grabber channel and assigns a channel component to the channel. The channel component is responsible for providing digitized data to the sequence grabber component.

QuickTime::SGNewChannel

Parameters:
owner - specifies the sequence grabber component the channel is attached to.

Methods

 o setSoundInputParameters
 public void setSoundInputParameters(int sampleSize,
                                     int numChannels,
                                     int compressionType) throws StdQTException
Set some parameters that relate to sound recording.

QuickTime::SGSetSoundInputParameters QuickTime::SGSetSoundInputParameters

Parameters:
sampleSize - Specifies the number of bits in each sound sample. Set this field to 8 for 8-bit sound; set it to 16 for 16-bit sound..
numChannels - Specifies the number of sound channels used by the sound sample. Set this field to 1 for monaural sounds; set it to 2 for stereo sounds...
compressionType - Specifies the number of bits in each sound sample. Set this field to 8 for 8-bit sound; set it to 16 for 16-bit sound..
 o getSoundInputParameters
 public SGChannelInfo getSoundInputParameters() throws StdQTException
Get some parameters that relate to the current sound recording.

QuickTime::SGGetSoundInputParameters QuickTime::SGGetSoundInputParameters

Parameters:
Returns - an SGChannel Info structure describing the Channel.
 o setSoundInputRate
 public void setSoundInputRate(float rate) throws StdQTException
Set the Sound Input Rate

QuickTime::SGSetSoundInputRate QuickTime::SGSetSoundInputRate

Parameters:
rate - Specifies the rate at which the sound channel is to acquire data.
 o getSoundInputRate
 public float getSoundInputRate() throws StdQTException
Get the Sound Input Rate

QuickTime::SGGetSoundInputRate QuickTime::SGGetSoundInputRate

Parameters:
rate - Specifies the rate at which the sound channel is to acquire data.
 o getInputDriver
 public SPBDevice getInputDriver() throws StdQTException
Get the Sound Input Driver

QuickTime::SGGetSoundInputDriver QuickTime::SGGetSoundInputDriver

Returns:
the Sound Input driver in use by this channel.
 o setRecordChunkSize
 public void setRecordChunkSize(int seconds) throws StdQTException
Set the buffer size for sound recording in seconds

QuickTime::SGSetSoundRecordChunkSize QuickTime::SGSetSoundRecordChunkSize

Parameters:
seconds - the buffer size for the channel to use.
 o getRecordChunkSize
 public int getRecordChunkSize() throws StdQTException
Get the buffer size (in seconds) of the record buffer

QuickTime::SGGetSoundRecordChunkSize QuickTime::SGGetSoundRecordChunkSize

Returns:
the Sound Input driver in use by this channel.
 o setInputDriver
 public void setInputDriver(String driverName) throws StdQTException
Set the Sound Input Driver, Automatically calls SGSoundInputDriverChanged

QuickTime::SGSetSoundInputDriver QuickTime::SGSetSoundInputDriver



QuickTime::SGSoundInputDriverChanged QuickTime::SGSoundInputDriverChanged

Returns:
the Sound Input driver in use by this channel.

All Packages  Class Hierarchy  This Package  Previous  Next  Index